django-admin command not found

53

django-admin command not found after pip3 install django -

## You probably installed Django as a user, try installing it as sudo instead.
### To fix your issue, run the commands below:

pip3 uninstall django  # this will uninstall the user account version

sudo pip3 install django  # this will install using sudo

## now try starting a project again as per usual, it will work
django-admin startproject [project-name]

django-admin command not found -

python3 -m django startproject {project name}

command not found: django-admin -

django-admin should be on your system path if you installed Django via pip. If it’s not in your path, ensure you have your virtual environment activated and you can try running the equivalent command python -m django.

Comments

Submit
0 Comments